home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / boot / alba.readme < prev    next >
Text File  |  2002-09-10  |  16KB  |  277 lines

  1. Short:        Lock your Amiga by a password ITA-ENG
  2. Author:       pearl_harbor@esseerre.mailshell.com (Stefano Maria Regattin)
  3. Uploader:     pearl_harbor@esseerre.mailshell.com (Stefano Maria Regattin)
  4. Version:      3.1
  5. Type:         util/boot
  6. Distribution: OK
  7.  
  8. Date: Saturday, 7th September 2002
  9.  
  10. Name of the program: AlbaEng (english version of Alba)
  11. The reason for this upload is the bugfix of the parameter counting that did
  12. give impossible tho use only part of these; now the problem is solved.
  13. I have understood how work the commands DoCopSplit and ReDoCopSplit in Blitz2.
  14. I cannot say the same for the parameter NumCustoms of the command InitCopList.
  15. However the program do its job; it fades from black to skylight and viceversa.
  16. The main usage of the program is to avoid use of your Amiga by unauthorized
  17. people, locking your Amiga with an access password.
  18. The best place for it is in your S: drawer; type S:AlbaEng in the last line of
  19. your User-Startup to execute the program on every boot.
  20. The first time it is launched it asks the password (8 chars maximum length) and
  21. saves it in your S: drawer in the file named Password; the next time you boot
  22. your Amiga, it stops the execution of the User-Startup until you type the
  23. password you have previously saved.
  24. Don't worry if you forget the password; you can exclude the program activating
  25. the CapsLock (the key with the light) and then pressing the Help key when the
  26. password is asked.
  27. For a  strange reason, but fortunately good for the purpose of the program,
  28. contrary to it has been written on Blitz2 manual, the program reads and writes a
  29. file (Password) in BLITZ mode!
  30.  
  31. DON'T MODIFY YOUR USER-STARTUP BEFORE YOU ARE SURE THAT THE PROGRAM RUNS
  32. CORRECTLY ON YOUR AMIGA; TO TEST THE PROGRAM RUN IT BEFORE FROM WORKBENCH!
  33.  
  34. Few year ago I have damaged my 2 megs fast ram expansion and my Commodore Amiga
  35. 1200 trying to bring the fast ram from 2 to 4 megs by myself; now I have a new
  36. Amiga Technologies Amiga 1200 with the same fast ram expansion repaired and
  37. with 4 megs of memory.
  38. The unique problem is that the battery clock hasn't been repaired and it counts
  39. badly seconds; every time I boot my Amiga I have to adjust the time.
  40. For this reason and for the clock accidental resets after a crash, I have used
  41. the program DateCheck found on a coverdisk of an italian amiga magazine.
  42. Due several problems with this program, I have decided to add date checking to
  43. AlbaEng; now the program stores the boot date in the file named LastBootDate in
  44. your S: drawer; at the next boot it compares the current date with the
  45. previously saved date and, if the time distance from the two dates is over 1
  46. day, it launch the program SYS:Prefs/Time.
  47. Obviously you must have this program to correct the date, otherwise the
  48. correction will not have place.
  49. This program was written in Blitz2 on an Amiga 1200 but it should run on any
  50. Amiga; e-mail me if it don't run on your Amiga of if there are problems of any
  51. kind.
  52. I feel so stupid...the reason why the program before didn't run from workbench
  53. is that I had forgotten to insert the WBStartup command!
  54. I must admit that Alba don't run on my Amiga 500 v1.2, but I am not surrendered
  55. and at the moment I am trying to optimize the source code to permit to run Alba
  56. on my Amiga 500.
  57. Now the program accepts two parameters: ASKPASSOWRDCHANGE and DATECHECK; I
  58. think they are self-expliciting; they can be omitted if necessary.
  59. There are now three new parameters with their values, TOPCOLOUR, BOTTOMCOLOUR
  60. and TEXTCOLOUR to set the colours for the highest and the lowerst line of the
  61. screen for the colours fading and for the text; the values for all these must be
  62. specified as an hexadecimal number from 00 to FF for the red, the green and the
  63. blue components of the colours; now if all these three colours are the same, the
  64. text colour is inverted allowing the usage of the program.
  65. Now you can get random colours for each colour parameter specifing RANDOM
  66. instead of RRGGBB.
  67.  
  68. I am not responsible of any damage this program can occurs to your system; you
  69. use it at your own risk!
  70.  
  71. Versions history:
  72. Version 1.0 -> First release on Aminet.
  73. Version 1.1 -> Now you can go back in typing chars using backspace (the left
  74.                arrow little grey key).
  75. Version 1.2 -> Removed the bug of unlimited erroneous backspaces.
  76. Version 1.3 -> Now the program can be tested directly from workbench.
  77. Version 1.4 -> Added date check.
  78. Version 1.5 -> Now the program is compatible with NTSC Amigas.
  79. Version 1.6 -> Now this english version of the program runs properly on NTSC
  80.                Amigas.
  81. Version 1.7 -> Now date check works properly.
  82. Version 1.8 -> Now the colours fading appears correctly on not AGA Amigas, but
  83.                there is only a fixed fade.
  84. Version 1.9 -> Now the date check is disabled if there isn't the Time prog in
  85.                SYS:Prefs.
  86. Version 2.0 -> Removed a bug in date check.
  87. Version 2.1 -> Now the input text position height is correct either a PAL or a
  88.                NTSC screen is opened.
  89. Version 2.2 -> Added qualifier keys filter and ASKPASSWORDCHANGE and DATECHECK
  90.                parameters, and now the password can be saved from a text
  91.                editor.
  92. Version 2.3 -> Now the RIGHT-AMIGA key is recognized.
  93.              *******************************************************************
  94.              * Thanks to Michael Hendren for the suggestions that have brought *
  95.              * up to this version!                                             *
  96.              *******************************************************************
  97. Version 2.4 -> Now all the numpad keys are recognized.
  98.              *******************************************************************
  99.              * Thanks to Michael Hendren for the suggestions that have brought *
  100.              * up to this version!                                             *
  101.              *******************************************************************
  102. Version 2.5 -> Now you can type the (new) password with the qualifier keys
  103.                pressed.
  104.              *******************************************************************
  105.              * Thanks to Michael Hendren for the suggestions that have brought *
  106.              * up to this version!                                             *
  107.              *******************************************************************
  108. Version 2.6 -> Now you can set the colours for the screen colour fading as you
  109.                like by the parameters TOPCOLOUR and BOTTOMCOLOUR; if you leave
  110.                these out, the screen will be totally black!
  111. Version 2.7 -> Added the selection of the text colour by the parameter
  112.                TEXTCOLOUR.
  113. Version 2.8 -> Now the fading takes place for any combination of the red, the
  114.                green and the blue components of the two faded colours, not
  115.                only for the highest value (FF).
  116. Version 2.9 -> Now TEXTCOLOUR is inverted if specified and equal to both the
  117.                TOPCOLOUR and BOTTOMCOLOUR keywords.
  118. Version 3.0 -> Now you can specify RANDOM instead of RRGGBB to have a random
  119.                colour for TOPCOLOUR, BOTTOMCOLOUR and TEXTCOLOUR colour
  120.                parameters.
  121. Version 3.1 -> Fixed a bug in the parameter counting that did give impossible to
  122.                use only part of these.
  123.  
  124. Note: if you want the source code of the program, make an international money
  125. order of 10 Euros payable to:
  126.  
  127. Stefano Maria Regattin
  128. piazza Pietro Gasparri, 4/U
  129. 20161 Milano Italia (Italy)
  130.  
  131. specifing that you want the source code of AlbaENG.
  132. At end see my homepage on the following Internet address:
  133. http://space.tin.it/clubnet/aregat/
  134. The following is the same text in italian:
  135.  
  136. Data: sabato, 7 settembre 2002
  137.  
  138. Nome del programma: Alba
  139. Il motivo di questo caricamento è la correzione di un baco che rendeva
  140. impossibile usare solo parte di questi: ora il problema è risolto.
  141. Ho capito come funzionano i comandi DoCopSplit e ReDoCopSplit in Blitz2.
  142. Non posso dire lo stesso per il parametro NumCustoms del comando InitCopList.
  143. Comunque il programma fa il suo lavoro: fa la dissolvenza dal nero alla luce del
  144. cielo e viceversa.
  145. Lo scopo principale del programma è quello di impedire l'uso del vostro Amiga a
  146. persone non autorizzate, bloccando il vostro Amiga con una parola d'accesso.
  147. Il miglior posto per questo programma è nel vostro cassetto S:; digitate S:Alba
  148. nell'ultima linea della vostra User-Startup per eseguire il programma ad ogni
  149. boot.
  150. La prima volta che viene lanciato, il programma chiede la parola chiave (8
  151. caratteri massimo) e la salva nel vostro cassetto S: nel file chiamato
  152. ParolaChiave; nei boot successivi blocca l'esecuzione della User-Startup finché
  153. non digitate la parola chiave precedentemente salvata.
  154. Non preoccupatevi se vi dimenticate la password; potete escludere il programma
  155. attivando il CapsLock (il tasto con la lucina) e premendo successivamente il
  156. tasto Help quando vi viene chiesta la parola chiave.
  157. Per qualche strana ragione, ma fortunatamente buona per lo scopo del programma,
  158. è che, diversamente da quanto è stato scritto sul manale di Blitz2, il programma
  159. legge e scrive un file (ParolaChiave) in modalita BLITZ!
  160.  
  161. NON MODIFICATE LA USER-STARTUP PRIMA DI ESSERE SICURI CHE IL PROGRAMMA GIRI
  162. CORRETTAMENTE; PER PROVARLO LANCIATELO PRIMA DAL WORKBENCH!
  163.  
  164. Qualche anno fa ho danneggiato la mia espansione di memoria fast da 2 mega ed il
  165. mio Amiga 1200 Commodore tentando di portare la memoria fast da 2 a 4 mega da
  166. solo; ora ho un nuovo Amiga 1200 di Amiga Technologies con la stessa espansione
  167. di memoria riparata e portata a 4 mega.
  168. L'unico problema è che l'orologio con la batteria tampone non è stato riparato e
  169. conta male i secondi; ogni volta che faccio il boot devo regolare l'ora.
  170. Per questa ragione e per gli azzeramenti dell'orologio dopo un crash del
  171. sistema, ho usato il programma DateCheck trovato su un dischetto di un
  172. numero di Amiga Magazine.
  173. Per vari problemi con questo programma, ho deciso di aggiungere il controllo
  174. della data ad Alba; ora il programma memorizza la data di boot nel file
  175. DataUltimoBoot nel vostro cassetto S:; al successivo boot confronta la data
  176. corrente con la data precedentemente salvata e, se la distanza tra le due date
  177. è di oltre un giorno, lancia il programma SYS:Prefs/Time.
  178. Ovviamente dovete avere questo programma per correggere la data, altrimenti la
  179. correzzione non avrà luogo.
  180. Questo programma è stato scritto in Blitz2 sul mio Amiga 1200 ma dovrebbe
  181. funzionare su qualsiasi Amiga; contattatemi per posta elettronica se così non
  182. fosse o per problemi di qualsiasi genere.
  183. Mi sento così stupido...la ragione per cui il programma prima non girava dal
  184. workbench è che avevo dimenticato di inserire il comando WBStartup!
  185. Devo ammettere che Alba non funziona sul mio Amiga 500 v1.2, ma io non mi sono
  186. arreso ed al momento sto ottimizzando il sorgente per permettere ad Alba di
  187. girare sul mio Amiga 500.
  188. Ora il programma accetta due parametri: ASKPASSWORDCHANGE e DATECHECK; io credo
  189. che siano autoesplicativi; per chi non sapesse l'inglese ASKPASSWORDCHANGE vuol
  190. dire CHIEDI SE SI VUOLE CAMBIARE LA PAROLA CHIAVE e DATECHECK vuol dire
  191. CONTROLLA LA DATA; questi parametri possono essere omessi se necessario.
  192. Ci sono ora tre nuovi parametri con i rispettivi valori, TOPCOLOUR, BOTTOMCOLOUR
  193. e TEXTCOLOUR, per impostare i colori per la linea piu' alta e per quella piu'
  194. bassa dello schermo per la dissolvenza dei colori e per il colore del testo; i
  195. valori per entrambi devono essere specificati come un numero esadecimale da 00 a
  196. FF per le componenti del rosso, del verde e del blu dei colori; ora se tutti
  197. questi tre colori sono identici tra loro, il colore del testo viene invertito
  198. per permettere l'utilizzo del programma.
  199. Ora potete ottenere dei colori a caso per ognuno dei tre parametri di colore
  200. specifcando RANDOM al posto di RRGGBB.
  201.  
  202. Non sono responsabile dei danni che questo programma può arrecare al vostro
  203. sistema; lo usate a vostro esclusivo rischio!
  204.  
  205. Storia delle versioni:
  206. Versione 1.0 -> Prima edizione su Aminet.
  207. Versione 1.1 -> Ora potete tornare indietro nella digitazione usando il tasto
  208.                 backspace (quello grigio piccolo con la freccia a sinistra).
  209. Versione 1.2 -> Risolto il problema dell'esecuzione senza limiti del tasto
  210.                 backspace.
  211. Versione 1.3 -> Ora il programma può essere testato direttamente dal workbench.
  212. Versione 1.4 -> Aggiunto il controllo della data.
  213. Versione 1.5 -> Ora il programma è compatibile con gli Amiga NTSC
  214. Versione 1.6 -> Ora la versione inglese del programma funziona correttamente
  215.                 sugli Amiga NTSC.
  216. Versione 1.7 -> Ora il controllo della data funziona appropriatamente.
  217. Versione 1.8 -> Ora la sfumatura di colori appare correttamente anche sugli
  218.                 Amiga non AGA, ma la sfumatura è fissa.
  219. Versione 1.9 -> Ora il contollo della data non viene eseguito se non c'è il
  220.                 programma Time in SYS:Prefs.
  221. Versione 2.0 -> Rimosso un baco nel controllo della data.
  222. Versione 2.1 -> Ora l'altezza  del testo di input è corretta sia che venga
  223.                 aperto uno schermo PAL od uno schermo NTSC.
  224. Versione 2.2 -> Aggiunto il filtro per i tasti qualificatori ed i parametri
  225.                 ASKPASSWORDCHANGE e DATECHECK.
  226.               *****************************************************************
  227.               * Grazie a Michael Hendren per i suggerimenti che hanno portato *
  228.               * a questa versione!                                            *
  229.               *****************************************************************
  230. Versione 2.3 -> Ora il tasto AMIGA-DESTRO viene riconosciuto.
  231.               *****************************************************************
  232.               * Grazie a Michael Hendren per i suggerimenti che hanno portato *
  233.               * a questa versione!                                            *
  234.               *****************************************************************
  235. Versione 2.4 -> Ora vengono riconosciuti anche tutti i tasti del tasterino
  236.                 numerico.
  237.               *****************************************************************
  238.               * Grazie a Michael Hendren per i suggerimenti che hanno portato *
  239.               * a questa versione!                                            *
  240.               *****************************************************************
  241. Versione 2.5 -> Ora potete digitare la (nuova) parola chiave tenendo premuti i
  242.                 Tasti qualificatori.
  243.               *****************************************************************
  244.               * Grazie a Michael Hendren per i suggerimenti che hanno portato *
  245.               * a questa versione!                                            *
  246.               *****************************************************************
  247. Versione 2.6 -> Ora potete scegliere i colori per la dissolvenza di colori dello
  248.                 schermo come preferite grazie ai parametri TOPCOLOUR e
  249.                 BOTTOMCOLOUR; se voi li omettete, lo schermo sarà completamente
  250.                 nero!
  251. Versione 2.7 -> Aggiunta la selezione del colore del testo grazie al parametro
  252.                 TEXTCOLOUR.
  253. Versione 2.8 -> Ora la dissolvenza ha luogo per qualsiasi combinazione delle
  254.                 componenti del rosso, del verde e del blu dei due colori, non
  255.                 solo per il valore piu' alto (FF).
  256. Versione 2.9 -> Ora il colore del testo TEXTCOLOUR viene invertito se
  257.                 specificato ed uguale ad entrambi i colori TOPCOLOUR e
  258.                 BOTTOMCOLOUR.
  259. Versione 3.0 -> Ora potete specificare RANDOM al posto di RRGGBB per avere dei
  260.                 colori casuali per i parametri di colore TOPCOLOUR, BOTTOMCOLOUR
  261.                 e TEXTCOLOUR.
  262. Versione 3.1 -> Fissato un baco nel conteggio dei parametri che rendeva
  263.                 impossibile usare solo parte di questi.
  264.  
  265. Nota: se volete il sorgente del programma, fate un vaglia ordinario di 10 Euro
  266. pagabile a:
  267.  
  268. Stefano Maria Regattin
  269. piazza Pietro Gasparri, 4/U
  270. 20161 Milano Italia (Italy)
  271.  
  272. specificando che volete il sorgente di Alba.
  273. Per finire guardate la mia pagina su Internet al seguente indirizzo:
  274. http://space.tin.it/clubnet/aregat/
  275.  
  276. Ciao!
  277.